/*开始头部样式设计*/
/*1、头部整体样式*/
#header
{
    width:800px;
    margin:0 auto;
    margin-bottom:5px;
    padding-bottom:3px;
    background: url("../images/header.png");
    border:1px solid #dcdcdc;
}
/*头部的顶部的样式*/
.main-top
{
    position:relative;
    height:100px;
}
/*缺口效果*/
.logo
{
    position:absolute;
    width:240px;
    height:50px;
    left:20px;
    top:20px;
    background:url(../images/logo.png);
}
.logo a span
{
    display:none;  //不显示元素 span
}
/*登陆框样式设计*/
.login-box
{
    width:450px;
    height:30px;
    position:absolute;
    right:30px;
    top:20px;
}
.login-box input
{
    width:104px;
}
.login-box label
{
    font-family: 黑体;
    margin:0px 10px;
}
.login-box button
{
    width:50px;
    height:21px;
    border-width:0px;
    background: border-box firebrick;
    color:#FFF;
    font-family: 楷体;
    margin-left:5px;
}
/*导航栏样式设计*/
.nav
{
    position:absolute;
    width:496px;
    height:30px;
    right:2px;
    bottom:0px;
}
.nav ul li
{
    float:left;
    width:94px;
    height:30px;
    background-color: darkgoldenrod;
    background-position:0 0;
    margin-left:3px;
}
.nav ul li a
{
    display:block;
    line-height:30px;
    text-align:center;
    color:#FFF;
    text-decoration:none;
}
/*banner*/
.main-banner
{
    padding: 0px;
    margin: 0px;
    width:800px;
    height:200px;
    border-top:5px solid gray;
}
/*搜索和快速链接*/
.search-box
{
    width:800px;
    margin:0px auto 0px auto;
    background-repeat:repeat-x;
}
.search-box .sl
{
    background-position:left 0px;
    background-repeat:no-repeat;

}
.search-box .sr
{
    height:27px;
    background-position:right -71px;
    background-repeat:no-repeat;
    padding:0px 30px;
    position:relative;
}
.left-search
{
    display:inline-block;
    width:200px;
    position:absolute;
    top:4px;
    left:20px;
}

.left-search label
{
    color:#FFF;
    margin:0px 5px;
}
.left-search input
{
    width:100px;
    margin-left:0px;
}
.right-link
{
    text-align:right;
    margin-right: 20px;
    display:inline-block;
    width:250px;
    position:absolute;
    top:4px;
    right:20px;
}
.right-link label
{
    color:#FFF;
    margin:0 5px;
}
/*结束头部样式设计*/